package com.zhijiaoyun.common;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public class Constant {
    public static final String JWT_ID = "jwt";
    public static final String JWT_SECRET = "hong1mu2zhi3ruan4jian5";
    //millisecond
    public static final int JWT_TTL = 60 * 60 * 1000;
    //millisecond
    public static final int JWT_REFRESH_INTERVAL = 55 * 60 * 1000;
    //millisecond
    public static final int JWT_REFRESH_TTL = 12 * 60 * 60 * 1000;

    public static final String NULL = "null";
    public static final String SUCCESS = "success";
    public static final String ERROR = "error";
    public static final String TRUE = "true";
    public static final String FALSE = "false";
    public static final String T = "t";
    public static final String F = "f";
    
    public static final String COMMA = ",";
    public static final String SEMICOLON = ";";
    public static final String PERIOD = ".";
	public static final String POUND="#";
	public static final String PERCENT="%";
	
	public static final long ONE_DAY = 24L * 60 * 60 * 1000;
	public static final long ONE_HOUR = 60L * 60 * 1000;
	public static final long ONE_MINUTE = 60L * 1000;

	public static final String ADMIN = "admin";
	public static final String CREATE_USER = "createUser";
    public static final String DEVICE_WEB = "web";
    public static final String DEVICE_MOBILE = "mobile";
}
